package com.zmn.oms.zmn.normal.business.interfaces.order.advancequote;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.dto.order.OrderDTO;
import com.zmn.oms.model.entity.orderfinalpricequotation.OrderFinalPriceQuotation;

/**
 * @author sunlife
 * @date:2022/9/22 下午8:07
 * description: 提前报价相关基础接口
 */
public interface AdvanceQuoteModifyBService {

    /**
     * 处理修改订单报价信息
     * @param orderDTO 订单数据DTO
     */
    void processUpdateAdvanceQuote(OrderDTO orderDTO) throws OmsBaseException;

    /**
     * 处理未提前报价
     * @param orderDTO
     * @throws OmsBaseException
     */
    void processUnAdvanceQuote(OrderDTO orderDTO) throws OmsBaseException;

    /**
     * 更新报价信息
     * @param orderDTO
     * @param quotation
     * @throws OmsBaseException
     */
    void updateAdvanceQuote(OrderDTO orderDTO, OrderFinalPriceQuotation dbQuotation) throws OmsBaseException;
}

